home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / u_man / cat3 / Tcl / cmdcmplt.z / cmdcmplt
Encoding:
Text File  |  1998-10-30  |  1.7 KB  |  67 lines

  1.  
  2.  
  3.  
  4. TTTTccccllll____CCCCoooommmmmmmmaaaannnnddddCCCCoooommmmpppplllleeeetttteeee((((3333TTTTccccllll))))                            TTTTccccllll____CCCCoooommmmmmmmaaaannnnddddCCCCoooommmmpppplllleeeetttteeee((((3333TTTTccccllll))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      Tcl_CommandComplete - Check for unmatched braces in a Tcl command
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<ttttccccllll....hhhh>>>>
  13.  
  14.      int
  15.      TTTTccccllll____CCCCoooommmmmmmmaaaannnnddddCCCCoooommmmpppplllleeeetttteeee(_c_m_d)
  16.  
  17. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  18.      char   *_c_m_d   (in)      Command string to test for completeness.
  19.  
  20.  
  21. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.      TTTTccccllll____CCCCoooommmmmmmmaaaannnnddddCCCCoooommmmpppplllleeeetttteeee takes a Tcl command string as argument and determines
  23.      whether it contains one or more complete commands (i.e. there are no
  24.      unclosed quotes, braces, brackets, or variable references).  If the
  25.      command string is complete then it returns 1; otherwise it returns 0.
  26.  
  27.  
  28. KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
  29.      complete command, partial command
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.